/**
 *  Copyright (C) 2006 Carrier Access, Corp.
 */
package com.huilink.webmail.util.client;

import com.google.gwt.user.client.ui.Button;
import com.google.gwt.user.client.ui.ChangeListener;
import com.google.gwt.user.client.ui.ClickListener;
import com.google.gwt.user.client.ui.KeyboardListener;
import com.google.gwt.user.client.ui.ListBox;
import com.google.gwt.user.client.ui.SourcesClickEvents;
import com.google.gwt.user.client.ui.SourcesKeyboardEvents;

/**
 */ 
public class ListenerManagerImpl implements ListenerManager
{
    
    public void addPhoneClickListener(SourcesClickEvents src, ClickListener l)
    {
        src.addClickListener(l);        
    }


    public void removePhoneClickListener(SourcesClickEvents src, ClickListener l)
    {
        src.removeClickListener(l);
    }

    public void addKeyboardListener(SourcesKeyboardEvents src, KeyboardListener l)
    {
        src.addKeyboardListener(l);
    }

    public void removeKeyboardListener(SourcesKeyboardEvents src, KeyboardListener l)
    {
        src.removeKeyboardListener(l);
    }
    
    public void addContactClickListener(SourcesClickEvents src, ClickListener l)
    {
        src.addClickListener(l);
    }
    
    public void removeContactClickListener(SourcesClickEvents src, ClickListener l)
    {
        src.removeClickListener(l);
    }

    public void addCallLogClickListener(SourcesClickEvents src, ClickListener l)
    {
        src.addClickListener(l);
    }
    
    public void addCallAppearancesClickListener(SourcesClickEvents src, ClickListener l)
    {
        src.addClickListener(l);
    }

    public void addWizardClickListener(Button source, ClickListener listener)
    {
        source.addClickListener(listener);
    }

    public void removeWizardClickListener(Button source, ClickListener listener)
    {
        source.removeClickListener(listener);
    }


    public void addWizardChangeListener(ListBox source, ChangeListener listener)
    {
        source.addChangeListener(listener);
    }


	public void addFormClickListener(SourcesClickEvents source, ClickListener listener) {
		source.addClickListener(listener);
	}


	public void addMenuClickListener(SourcesClickEvents source, ClickListener listener) {
		source.addClickListener(listener);
	}
	
	
    
    
}
